home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / comm / mail / AmigaElm_v7.lha / c / DecryptMsg_old < prev    next >
AmigaDOS Script File  |  1994-06-23  |  570b  |  23 lines

  1. .KEY cryptfile/A
  2. .BRA {
  3. .KET }
  4.  
  5. ;
  6. ; This is just an example...
  7. ;
  8.  
  9. ; do something with the message, e.g. decrypt it, and redirect
  10. ; input/output to actual screen (Elm's screen) for passwort prompts etc.
  11. ;
  12. ;Copy <>"CON:////IO-Window/CLOSE/AUTO/WAIT/SCREEN`GetActScreen`" "{cryptfile}" T:AmiElm-Decrypted.Txt-$process
  13. PGPMore <"{cryptfile}" >T:AmiElm-Decrypted.Txt-$process
  14.  
  15. ; and now display it with a text viewer
  16. ;
  17. MultiView PUBSCREEN="`GetActScreen`" T:AmiElm-Decrypted.Txt-$process
  18.  
  19. ; get rid of our temporary file
  20. ;
  21. Delete T:AmiElm-Decrypted.Txt-$process QUIET FORCE
  22.  
  23.